<template>
	<view>
		<view class="main">
			<view v-if="lists && lists.length > 0" class="lists">
				<view class="items" v-for="(item, index) in 6" :key="index" @click="toDetail(item)">
					<view class="left">
						<view class="date">
							<text>2025年05月</text>
						</view>
						<view class="totals">
							<text>交易总额：</text>
							<text>750149.10</text>
						</view>
					</view>
					<view class="right">
						<u-icon name="arrow-right" color="#c8c9cc" size="26"></u-icon>
					</view>
				</view>
			</view>
			<u-empty class="policy_box" v-else mode="list" icon="/static/Empty/data_null.png">
			</u-empty>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				lists: []
			}
		},
		onLoad(e) {
			
		},
		methods: {
			// 详情
			toDetail(item) {
				uni.navigateTo({
					url: '/pages/hzy/trade/detail?day=' + item
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.main {
		.lists {
			padding: 0 30rpx;
			background-color: #ffffff;
			.items {
				padding: 30rpx 0;
				display: flex;
				justify-content: space-between;
				align-items: center;
				border-bottom: 1px solid #f4f4f5;
				font-size: 24rpx;
				
				.date {
					font-weight: bold;
					font-size: 28rpx;
					padding-bottom: 10rpx;
				}
				
				.totals {
					color: #909399;
				}
			}
		}
	}
</style>